package com.smart.five.ioc.injection.constructor;

/**
 * @author junrui.wang
 * @create 2018/6/5
 */
public class Office {
    private String name;
    private Boss boss;

    public Office() {
    }

    public Office(String name, Boss boss) {
        this.name = name;
        this.boss = boss;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boss getBoss() {
        return boss;
    }

    public void setBoss(Boss boss) {
        this.boss = boss;
    }
}
